Ext.define('Jee.view.security.user.UserGridView',{
    extend : 'Jee.view.CURDGridView',
    alias : ['widget.userGridView'],
     // id:'01_02_02',
    //title : '用户管理',
    store :'security.user.UserStore',
    serviceClassCode:'01_02_02',
    conditionView:null,
    modelClass:'Jee.model.security.user.UserModel',
    columns: [
    	  {xtype:'rownumberer'},
          {header: '用户名',  dataIndex: 'userName'},
          {header: '姓名',  dataIndex: 'realName'},
          {header: '是否有效',  dataIndex: 'enabled',xtype: 'checkcolumn'},
          {header: '机构',  dataIndex: 'org.name',flex:1}
          
      ],
    getEditWin:function(){
	    var me = this;
	    return Ext.create('Jee.view.security.user.UserEditView',{grid:me});
    },
    
    initComponent : function(){ 
    	this.conditionView = Ext.create('Jee.view.security.user.UserConditionView');
    	this.callParent();
    }
});